import http from "@/utils/axios";
import {BASE_URL} from "@/api/version";

/*公估人接口*/

/**
 * 公估公司枚举
 * @param data
 */
export const queryAssessorCompany=(data:any)=>{
    return http.post(BASE_URL+'outer/queryAssessorCompany',data)
}
/**
 * 公估人枚举
 * @param data
 */
export const getEnumeration=(data:any)=>{
    return http.post(BASE_URL+'assist/getEnumeration',data)
}
/**
 * 查询省市区
 * @param data
 */
export const queryAreaList=(data:any)=>{
    return http.post(BASE_URL+'outer/queryAreaList',data)
}
/**
 * 公估人产品险种
 * @param data
 */
export const searchProduct=(data:any)=>{
    return http.post(BASE_URL+'outer/searchProduct/'+'all',data)
}
/**
 *查询实时全量币种汇率
 * @param data
 */
export const queryCurrencyRate=(data:any)=>{
    return http.post(BASE_URL+'outer/queryCurrencyRate',data)
}
/**
 * 安全加密
 * @param data
 */
export const searchFlagOfAES=()=>{
    return http.post(BASE_URL+'codeCache/searchFlagOfAES')
}
